package com.hxzy.shop.order.dto.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Author rlj
 * @Date 2021/7/14 13:23
 * @Version 1.0
 */
@Data
public class PlaceOrderDrugReq implements Serializable {

    private static final long serialVersionUID = 873784224346393024L;

    @ApiModelProperty("购物车id")
    private Long shopCarId;
    @ApiModelProperty("活动id")
    private Long activityId;

    @ApiModelProperty("活动类型 0无活动 1限时折扣 2秒杀 3组合套餐 4满减 5第X件X折 6满赠 7砍价")
    private Integer activityType;

    @ApiModelProperty("组合套餐数量")
    private Integer groupNum;

    @ApiModelProperty("药品")
    @NotNull(message = "药品不能为空")
    private List<DrugReq> drugDto;
}
